<div class="bvl_dialog viewname_<?= $context->getName() ?>"
     c_rand="<?= $context->c_rand(); ?>"><?php

    foreach($context->dialog() as $vo){

        if(!isset($vo['type'])){
            $vo['type']='text';
        }
        $fun='dialog_label_'.$vo['type'];
        echo $context->$fun($vo,$model);
        /// echo $this->context->dialog_label($vo,$model);
    }


    ?>
    <input id="bvl_id" value="<?= $context->model_to_id($model); ?>" type="hidden"/>

</div>